mnelson4\rest_api_detector\RestApiDetector S

Total Complexity 38
Dependencies 2
Dependents 2
Total lines 308
Lines of code 155
Logical lines of code 74
Comment lines 102
Methods 20
Properties 6

Methods 20

Method Rating Maintainability Complexity Lines of code
sanitizeSite()
A
53 8 23
fetchWpJsonRootInfo()
S
50 5 30
getSelfHostedSiteInfo()
S
54 5 23
getSiteInfo()
S
58 3 16
getWordPressComSiteInfo()
S
64 2 10
__construct()
S
77 1 4
setDescription()
S
81 1 3
isInitialized()
S
82 1 3
setLocal()
S
81 1 3
isLocal()
S
82 1 3
setRestApiUrl()
S
81 1 3
getRestApiUrl()
S
82 1 3
setName()
S
81 1 3
getDescription()
S
82 1 3
setSite()
S
81 1 3
getName()
S
82 1 3
getSite()
S
82 1 3
sendHttpGetRequest()
S
65 1 10
guessSelfHostedSiteInfo()
S
79 1 3
setInitialized()
S
81 1 3